#pragma once
#include <vector>

struct HookData
{
	void* Address;
	BYTE OldData[5];
	BYTE CurData[5];
};


class InlineHook
{
public:

	DWORD Hook(void* TarFun, void* CurFun);
	void Rest(DWORD Index);
	void Load(DWORD Index);

private:
	std::vector<HookData> g_HookData;
};
